<%@ page language="java" pageEncoding="utf-8" contentType="text/html;charset=utf-8" isErrorPage="true" %>
<%@ page isELIgnored="false" %> 
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="datePattern"><fmt:message key="date.format"/></c:set>
<% //page language="java" errorPage="/error.jsp" pageEncoding="utf-8" contentType="text/html;charset=utf-8"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>站点错误页面</title>
		<link rel="stylesheet" href="<c:url value='/style/style.css'/>" type="text/css" />
		<!--[if IE 9]>
		    <link rel="stylesheet" media="screen" href="<c:url value='/style/ie9.css'/>"/>
		<![endif]-->
		
		<!--[if IE 8]>
		    <link rel="stylesheet" media="screen" href="<c:url value='/style/ie8.css'/>"/>
		<![endif]-->
		
		<!--[if IE 7]>
		    <link rel="stylesheet" media="screen" href="<c:url value='/style/ie7.css'/>"/>
		<![endif]-->
		
		<script type="text/javascript" src="<c:url value='/js/plugins/jquery-1.7.min.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/js/plugins/jquery-ui-1.8.16.custom.min.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/js/custom/general.js'/>"></script>
		<!--[if lt IE 9]>
			<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
		<![endif]-->
	</head>
	<body class="loggedin errorpage">
	
		<!-- START OF HEADER -->
		<div class="header radius3">
	    	<div class="headerinner">
	        	
	            <a href=""><img src="<c:url value='/images/starlight_admin_template_logo_small.png'/>" alt="" /></a>
	            
	              
	            <div class="headright">
	            	<div class="headercolumn">&nbsp;</div>
	            	<div id="searchPanel" class="headercolumn">
	                	<div class="searchbox">
	                        <form action="" method="post">
	                            <input type="text" id="keyword" name="keyword" class="radius2" value="Search here" /> 
	                        </form>
	                    </div><!--searchbox-->
	                </div><!--headercolumn-->
	            	<div id="notiPanel" class="headercolumn">
	                    <div class="notiwrapper">
	                        <a href="ajax/messages.php" class="notialert radius2">5</a>
	                        <div class="notibox">
	                            <ul class="tabmenu">
	                                <li class="current"><a href="ajax/messages.php" class="msg">Messages (2)</a></li>
	                                <li><a href="ajax/activities.php" class="act">Recent Activity (3)</a></li>
	                            </ul>
	                            <br clear="all" />
	                            <div class="loader"><img src="images/loaders/loader3.gif" alt="Loading Icon" /> Loading...</div>
	                            <div class="noticontent"></div><!--noticontent-->
	                        </div><!--notibox-->
	                    </div><!--notiwrapper-->
	                </div><!--headercolumn-->
	                <div id="userPanel" class="headercolumn">
	                    <a href="" class="userinfo radius2">
	                        <img src="<c:url value='/images/avatar.png'/>" alt="" class="radius2" />
	                        <span><strong>Justin Meller</strong></span>
	                    </a>
	                    <div class="userdrop">
	                        <ul>
	                            <li><a href="">Profile</a></li>
	                            <li><a href="">Account Settings</a></li>
	                            <li><a href="index.html">Logout</a></li>
	                        </ul>
	                    </div><!--userdrop-->
	                </div><!--headercolumn-->
	            </div><!--headright-->
	        
	        </div><!--headerinner-->
		</div><!--header-->
	    <!-- END OF HEADER -->
	        
	    <!-- START OF MAIN CONTENT -->
	    <div class="mainwrapper">
	     	<div class="mainwrapperinner">
	         	
	        <div class="errorWrapper">
	        	<h1 class="pageErrorTitle">Error 500 - Page Not Found</h1>
	        	<h4 class="pageErrorTitle">对不起，网站出现内部错误, 请联系管理员。</h4>
	            <span>
	            <%
	              String error = "";
	              if (exception != null) {
	            	  error = exception.getMessage();
	              }
	            %>
	            <%= error %></span>
	            <br />
	            <a class="default" href="javascript:history.back()">返回上一页</a> &nbsp; <a class="default" href="<c:url value='/'/>">回到主页</a>
	        </div>
	        
	     	</div><!--mainwrapperinner-->
	    </div><!--mainwrapper-->
		<!-- END OF MAIN CONTENT -->
	</body>
</html>
